package com.hsgene.product.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.coupon.dto.GeneticDiscountDto;
import com.hsgene.product.service.api.DiscountCouponService;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wangbing
 * @version 1.0, 2018/10/11
 */
@Component
public class DiscountCouponServiceImpl implements DiscountCouponService {

    @Override
    public ApiResult<List<GeneticDiscountDto>> queryEffectiveDiscount(Integer platform, String userId) {
        return ApiResult.fail(CommonErrorCode.DISCOUNT_SERVICE_NOT_AVAILABLE);
    }

}
